from django.urls import path
from . import views

urlpatterns = [
    path('get_rectangle_area/<int:width>/<int:height>', views.get_rectangle_area),
    path('get_square_area/<int:width>', views.get_square_area),
    path('get_circle_area/<int:radius>', views.get_circle_area),
    path('rectangle/<str:width>/<str:height>', views.figures_rectangle, name='rectangle'),
    path('square/<str:width>', views.figures_square, name='square'),
    path('circle/<str:radius>', views.figures_circle, name='circle'),
    #path('<str:name_function>/<int:params1>', views.get_figures_and_response_area),



]